<?php
!function_exists('adminmsg') && exit('Forbidden');

$types = array(
	'flash'		=>'详细页播放器',
	'feed'		=>'楼盘动态',
	'price'		=>'价格动态',
	'tag'		=>'相关资讯',
	'group'		=>'业主小区回复',
	'evaluations'=>'楼盘点评',
	'round'		=>'周边楼盘',
	'housesort'	=>'楼盘排行',
	'imagetype'	=>'楼盘图片',
);

if (!$action) {
	$ajax_basename = EncodeUrl($basename);
	require_once PrintMode('pagecache');
} elseif ($action == 'truncate') {
	define('AJAX', 1);
	$pageCacheService = House::loadClass('pagecacheservice','service');
	$pageCacheService->truncateCache();
	echo getLangInfo('msg','operate_success');
	ajax_footer();
} elseif ($action == 'dels') {
	define('AJAX', 1);
	InitGP(array('type'));
	$pageCacheService = House::loadClass('pagecacheservice','service');
	$pageCacheService->deleteCacheByType($type);
	echo getLangInfo('msg','operate_success');
	ajax_footer();
}

?>